#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>
int main()
{
	float F, C;
	scanf("%f", &F);
	C = 5 * (F - 32) / 9;
	printf("c=%.2f\n", C);
	return 0;
}